package com.macrounion.atv.service.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.macrounion.atv.service.entity.Sendto;
import com.macrounion.atv.service.mapper.SendtoMapper;
import com.macrounion.atv.service.mapper.SendtoMapperExt;
import com.macrounion.atv.service.service.SendtoService;
import com.macrounion.base.service.service.impl.BaseServiceImpl;

@Service
public class SendtoServiceImpl extends BaseServiceImpl<SendtoMapper, Sendto> implements SendtoService {

	@Autowired
	private SendtoMapperExt sendtoMapperExt;
	
	@Override
	public List<Sendto> getAllSend() {
		return sendtoMapperExt.getAllSendSocket();
	}

	@Override
	public void updateStatus(String id, int status) {
		sendtoMapperExt.updateStatus(id,status);
	}
}